package com.bizzard.org.mapper;



import com.bizzard.basic.mapper.BaseMapper;
import com.bizzard.org.domain.Shop;
import com.bizzard.org.dto.ShopDto;

import java.util.List;

public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 店铺入驻：检验当前入驻信息是否入驻过
     * @param shop
     * @return
     */
    Shop loadByMessage(Shop shop);


    /**
     *  获取每一个店铺的状态
     * @return
     */
    List<ShopDto> getShopState();
}
